package com.start.common.controller;

import com.start.common.api.Result;
import com.start.common.user.StartUserInfoLoadService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Tag(name = "系统-属性字典")
@RestController
@RequestMapping("/start/comDict")
public class StartComDictController {
    @Operation(summary = "系统用户体系类别")

    @GetMapping("/getStartUserType")
    public Result<?> getStartUserType() {
        return Result.ok(StartUserInfoLoadService.getInstance().getDictData());
    }
}
